package ui;
import com.hzheima.game.GameJFrame;
import com.hzheima.util.ImageUtil;
import constant.UiConstant;
import java.awt.*;
/**
 * @Author:zhengbowen
 * @Date: 2025/09/07 9:07
 * @Description:窗口配置
 */
public class PlaneWarFrame extends GameJFrame {
    public PlaneWarFrame() throws HeadlessException {
        setTitle("飞机大战");
        setIconImage(ImageUtil.getImg("logo.png"));
        setSize(UiConstant.APP_WIDTH, UiConstant.APP_HEIGHT);
        setLocation(100,0);
        setVisible(true);
    }
}
